package enhance.day05;

public class _03_方法调用的参数传递问题 {

    static void changeStu(_03_Student stu){
        stu.kaiLangIndice = 100;
    }

    public static void main(String[] args) {

        // 创建一个应用类型 _03_Student 的数据对象
        _03_Student stu = new _03_Student();
        stu.name = "益哥";
        stu.age = 18;
        stu.kaiLangIndice = 99.99;


        System.out.println(stu.kaiLangIndice);

        // 传递的是stu对象的内存空间的地址
        changeStu(stu);

        System.out.println(stu.kaiLangIndice);








    }
}
